package com.lingxu.base.system.manage.model;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class TreeNode implements Serializable {

    @TableField(exist = false)
    private String treeUniqueId;

    @TableField(exist = false)
    @ApiModelProperty(value = "树对象id")
    private String treeTableId;

    @TableField(exist = false)
    @ApiModelProperty(value = "树对象父id")
    private String treeTablePid;

    @TableField(exist = false)
    @ApiModelProperty(value = "树对象类型")
    private String treeTableType;

    @TableField(exist = false)
    @ApiModelProperty(value = "子对象列表")
    private List<TreeNode> children=new ArrayList<>();
}
